const express = require('express');
const router = express.Router();
const paging = require('../../commonPaging/paging')

router.post('/',async (req,res) => {
    let {sheepId} = req.body
    if(!sheepId){
        return res.send({
            code: 1,
            msg: '参数错误'
        })
    }
    let arr = [sheepId]
    try{
        await paging(req,res,arr,'xiPuWord')
    }catch (e) {
        console.log(e);
        return res.send({
            code: 4,
            msg: '服务器错误,请稍后再试'
        })
    }
})

module.exports = router
